
function initialize_tabs(mainClass, tabContentClass) {
	
	$("." + tabContentClass).hide(); //Hide all content
	$("." + mainClass + " div a:first").addClass("active").show(); //Activate first tab
	
	$("." + tabContentClass + ":first").show(); //Hide all content
	//$("." + tabContentClass + ":first").show(); //Show first tab content	

	//On Click Event
	$(".tab-control a").click(function() {
		
		$(".wrapper_content_page_left").hide();
		$(".wrapper_content").show(); 
		
		if(!$(this).hasClass('active')){
			$("." + mainClass + " div a").removeClass("active"); //Remove any "active" class
			
			$(".content_nav div a").removeClass("active"); //Remove  "active" class of sub menu left
			
			$(this).addClass("active"); //Add "active" class to selected tab
			$("." + tabContentClass).hide(); //Hide all tab content 
			
			var activeTab_news = $(this).attr("href"); //Find the href attribute value to identify the active tab + content
			$(activeTab_news).show(); //Fade in the active ID content
		}
		return false;
	});
}  